#pragma once

#ifndef _CSPAWNMOBPOOL_H_
#define _CSPAWNMOBPOOL_H_

// spawning conditions
#define SPAWNCONDITION_NORMAL		0x00
#define SPAWNCONDITION_ATNIGHT1		0x01
#define SPAWNCONDITION_ATNIGHT2		0x02
#define SPAWNCONDITION_WEATHER		0x04
#define SPAWNCONDITION_FOG			0x08
#define SPAWNCONDITION_MOONPHASE	0x10
#define SPAWNCONDITION_LOTTERY		0x20
#define SPAWNCONDITION_WINDOWED		0x40
#define SPAWNCONDITION_SCRIPTED		0x80


class CSpawnMobPool  {

public:
	unsigned int m_groupId;
	unsigned short m_respawnTime;
	unsigned int m_flags;
	unsigned short m_maxSpawns;
	unsigned short m_currentSpawns;
	mobPoolEntry* m_pMobPool;
	unsigned int	m_dropId;
	unsigned short m_minLevel;
	unsigned short m_maxLevel;
	
	CSpawnMobPool();
	~CSpawnMobPool();

	bool isSpawnConditionMet();

} ;

#endif

